package com.itheima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.domain.po.Clazz;
import com.itheima.domain.query.ClazzQueryParam;
import org.apache.ibatis.annotations.Param;

public interface ClazzMapper extends BaseMapper<Clazz> {

    /**
     * 分页查询班级信息
     *
     * @param page  分页参数
     * @param clazz 查询参数
     */
    Page<Clazz> selectClazzPage(Page<Clazz> page, @Param("clazz") ClazzQueryParam clazz);
}
